

#import <Foundation/Foundation.h>

@interface CoreDataManager : NSObject

// 单例
+ (instancetype)defaultManager;

// 查询整个收藏
- (NSArray *)selectAllCollectionModel;
// 查看有没有已经存在的阅读收藏
- (BOOL)isContainsReadWithtitle:(NSString *)title;

//根据title去删除一个收藏
- (void)deleteCollectionModelWithtitle:(NSString *)title;

//插入
- (void)insertCollectionModelWithCollectionHtml:(NSString *)html title:(NSString *)title name:(NSString *)name views:(NSString *)views;

@end
